Skip to content

ci: run the tests on pull requests - #9

Merged
rbatista191 merged 1 commit into
mainfrom
ci/pull-request-checks
Nov 27, 2026
Merged

rbatista191 merged 1 commit into
mainfrom
ci/pull-request-checks

Conversation

@rbatista191

Copy link
Copy Markdown
Contributor

What this changes

This adds .github/workflows/ci.yml. The workflow runs on each pull request and on each push to main. Before this change, only the Package workflow ran, and only on pushes to main.

The test job installs requirements.txt and pytest, and runs pytest tests. This is the same as the Development section of the README, with uv in place of a venv.

Versions

Python 3.12 and 3.15. dify_plugin needs Python 3.12 or later, and the Dify runner in manifest.yaml uses 3.12. 3.15 is the newest Python. The check names are test (3.12) and test (3.15).

Local test

  • Python 3.12: 34 passed.
  • Python 3.14: 34 passed.
  • Python 3.15: 34 passed.

The Package workflow does not change. It does not run on pull requests.

Branch protection

After the merge, branch protection on main will require the test checks of this workflow.

Add a CI workflow. It runs on each pull request and on each push to main. Branch protection on main will require its test checks.
@rbatista191
rbatista191 merged commit e4bc5d6 into main Nov 27, 2026
6 checks passed
@rbatista191
rbatista191 deleted the ci/pull-request-checks branch November 27, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant